import { Injectable } from '@angular/core';

import { BaseService } from '../base.service';

export interface UserSession {
  id?: number;
  userid: number;
  ip: string;
  logintime: Date;
  logouttime: Date;
}

@Injectable({
  providedIn: 'root'
})
export class UserSessionService extends BaseService<UserSession> {
  constructor() {
    super();
    this.apiPrefix = 'usersession';
  }
}
